package uk.co.revisual.pivot.vos
{
	public class PivotVO
	{
		public static const DELIMETER:String = ":";
		
		public var core:String;
		public var name:String;
		public var type:String;
		public var state:String;
		
		public function PivotVO(core:String, name:String, type:String, state:String)
		{
			this.core = core;
			this.name = name;
			this.type = type;
			this.state = state;
		}
		
		public function get address():String{
			if (core) return core + DELIMETER + name;
			return name;
		}

	}
}